package com.dhsc.local.dao.impl.yykh.yyzlkh;

import com.dhsc.domain.ywzx.yykh.yyzlkh.YwycclmxVo;
import com.dhsc.local.dao.yykh.yyzlkh.IYwycclmxDao;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName YwycclmxDaoImpl
 * @description: 业务异常处理明细
 * @author: gx
 * @create: 2024-04-23 10:41:04
 **/
@Repository("ywycclmxdao")
public class YwycclmxDaoImpl implements IYwycclmxDao {

    @Autowired
    private SqlSessionTemplate localSqlSessionTemplate;

    @Override
    public List<YwycclmxVo> queryYwycclmx(YwycclmxVo ywycclmxVo) {
        return localSqlSessionTemplate.selectList("YwycclmxMapper.queryYwycclmx",ywycclmxVo);
    }

    @Override
    public int updateYwycclmx(YwycclmxVo ywycclmxVo) {
        return localSqlSessionTemplate.update("YwycclmxMapper.updateYwycclmx",ywycclmxVo);
    }
}
